package com.ruoyi.cp.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * 彩票用户表 cp_lottery
 * 
 * @author wh
 * @date 2019-06-25
 */
@EqualsAndHashCode(callSuper = true)
@ToString
@Data
@Accessors(chain = true)
@TableName("cp_lottery")
public class Lottery extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @TableId
    private Integer lotteryId;
	
    /**
    * 手机号
    */
    private String phone;
    /**
    * 用户名
    */
    private String userName;
    /**
    * 密码
    */
    private String password;
    /**
    * 短信验证码
    */
    private String smsCode;
    /**
    * 是否是vip
    */
    private Integer isVip;
    /**
    * vip到期时间
    */
    private Date vipExpire;
    /**
     * 创建时间
     */
    private Date createTime;
}
